:root {
  --primary-color: #f7f7f7;
  --secondary-color: #212121;
  --lightgrey: #efefef;
  --darkgrey: #646464;
  --navbg: #000;
  --navcol: #fff; 
  --linkcol: #000;
  --dunedin-blue: #304756;
  --dunedin-grey: #93a3af;
  
}
/* root variables cannot be used in media queries so here for reference only:
  36em/57.6rem phone (Small devices (landscape phones, 576px and up)
  48em/76.8rem tablet (Medium devices (tablets, 768px and up)
  62em/99.2rem desktop (Large devices (desktops, 992px and up)
  75em/120rem large desktop (Large devices (desktops, 1200px and up)
  120em/192rem Pro/designer desktop (Large devices (desktops, 1920px and up, e.g. most pro design screens) 
*/

/* Note: We use a mix of "em" and "rem" dimensions throughout this css. 
Therefore adjusting body font size will alter any media queries and other dimensions that are based on "em". 
Feel free to change but be aware of possible unintended consequences :)  */

/* Dunedin fonts Arial/Helvetica, Montserrat and Archer */
.body {
  font-family: 'MuseoSans', Helvetica, Arial, sans-serif; 
  /* font-family: Arial, Helvetica, sans-serif;*/
  font-size:1.6rem; 
}

.center {text-align: center;}

/* headings */
h1,h2,h3,h4 {
  font-family: "Archer SSm A", "Archer SSm B", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.3;
}

h2 {font-size: 3rem;}
h3 {font-size: 2.4rem;}

h1.hero, 
h2.hero {
  color: #fff;
  text-shadow: 1px 1px #000;
}

h1.hero {font-size: 2.2rem;}
h2.hero {font-size: 1.5rem;}

@media screen and (min-width: 36em) {
  h1.hero {font-size: 4.8rem;}
  h2.hero {font-size: 3rem;}
}

.navbar-section-content a, 
.button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.6rem;
}/* ---------------------------------
    Navbar styles
   --------------------------------- */
.navbar-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* caret icon changes direction when menu is open - preview bar and search filters too */
.dropdown-button:focus-within .css-icon-caret-down,
.filter-name:focus-within .css-icon-caret-down {
  transform: rotate(180deg);
}

/* Hide logo and account name on mobile */
.account-logo .logo {
  display: none;
  max-height: 4rem;
}

span.account-name {
  font-size: 1.6rem;
  display: none;
}

.account-logo-mobile {
  left: auto;
  top: auto;
  width: auto;
  height: 3rem;
}

@media (min-width: 62em) {
  /* Adjust height and spacing for logo on desktop */
  .navbar-section {
    height: 10rem;
  }

  .account-logo .logo,
  span.account-name {
    display: block;
    max-height: 10rem;
    padding: 1em 0;
  }
}
.footer-section {
  background-color: #000;
  color: #fff;
}

.footer-top {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 3rem;
  align-items: flex-start;
  gap: 3rem;
}

.footer-top article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}

.footer-top article ul {list-style:none;}
  
.footer-top article li, .footer-top article p {
  width:100%;
  display:block;
  text-align:center;
  line-height:5rem;
}

.footer-top article li a {text-decoration: none;}

.footer-menu-links {
  gap: 1rem;
}

.footer-top-section-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width:62em) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-top article:nth-child(2) p {text-align:right;}
  .footer-top article li {
    padding-right:2rem;
    margin-right:1rem;
    width:fit-content;
    text-align:left;
    display:inline-block;
  }
  
  .footer-top article li:last-child {border:none;}
  .footer-top-section-left {
	width: auto;
	text-align: left;
	}
  
  .footer-top-section-right {
    width: auto;
    text-align: right;
    align-items: flex-end;
  }
  
  .footer-menu-links {
  gap: 3rem;
}
}

.footer-logo {max-width: 30rem;}
/* ---------------------
   Main Elements
   --------------------- */
.body {
  background-color: var(--primary-color);
}
.main {margin-top: 7rem;}
@media screen and (min-width: 62em) {.main {margin-top: 10rem;}}
.preview-mode .main {padding-top: 6rem;}

.welcome-paragraph {
  font-size:2rem;
}

mark {
	padding: 1rem 2rem;
	background-color: #f9d147;
    color: black;
}

/* index page sub menu */
#sub-menu {
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  padding: 0;
  margin: 0;
}

#sub-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 1rem;
  padding: 2rem;
}

#sub-menu a.active {
  background-color: var(--primary-color);
  color: var(--dunedin-blue);
  pointer-events: none;
}

#sub-menu a .css-icon {
  transform: scale(2);
}

.css-icon-camera {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="camera-1--photos-picture-camera-photography-photo-pictures"><path id="Subtract" fill="currentColor" fill-rule="evenodd" d="M4.6 1.7a0.5 0.5 0 0 1 0.4 -0.2h4a0.5 0.5 0 0 1 0.4 0.2l1.35 1.8h1.75A1.5 1.5 0 0 1 14 5v6a1.5 1.5 0 0 1 -1.5 1.5h-11A1.5 1.5 0 0 1 0 11V5a1.5 1.5 0 0 1 1.5 -1.5h1.75L4.6 1.7Zm4.861 6.011a2.461 2.461 0 1 1 -4.922 0 2.461 2.461 0 0 1 4.922 0Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

.css-icon-video-camera {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="webcam-video--work-video-meeting-camera-company-conference-office"><path id="Union" fill="currentColor" fill-rule="evenodd" d="M1.5 2A1.5 1.5 0 0 0 0 3.5v7A1.5 1.5 0 0 0 1.5 12H9a1.5 1.5 0 0 0 1.5 -1.5v-0.742l2.106 0.903A1 1 0 0 0 14 9.74V4.259a1 1 0 0 0 -1.394 -0.919l-2.106 0.903V3.5A1.5 1.5 0 0 0 9 2H1.5Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

.css-icon-file-text {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="business-user-curriculum"><path id="Subtract" fill="currentColor" fill-rule="evenodd" d="M1.44 0.44A1.5 1.5 0 0 1 2.5 0h6a0.5 0.5 0 0 1 0.354 0.146l4 4A0.5 0.5 0 0 1 13 4.5v8a1.5 1.5 0 0 1 -1.5 1.5h-9A1.5 1.5 0 0 1 1 12.5v-11c0 -0.398 0.158 -0.78 0.44 -1.06Zm3.515 3.51a1.024 1.024 0 1 0 0 -2.048 1.024 1.024 0 0 0 0 2.048ZM2.876 8.5c0 -0.345 0.279 -0.625 0.624 -0.625h7a0.626 0.626 0 0 1 0.002 1.25h-7a0.626 0.626 0 0 1 -0.626 -0.625Zm0 3c0 -0.345 0.279 -0.625 0.624 -0.625h4a0.626 0.626 0 0 1 0.002 1.25h-4a0.626 0.626 0 0 1 -0.626 -0.625Zm2.08 -6.866c-0.7 0 -1.339 0.263 -1.822 0.696 -0.287 0.257 -0.063 0.67 0.322 0.67h2.998c0.386 0 0.61 -0.413 0.323 -0.67a2.721 2.721 0 0 0 -1.822 -0.696Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

.css-icon-info {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="information-circle--information-frame-info-more-help-point-circle"><path id="Subtract" fill="currentColor" fill-rule="evenodd" d="M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM5.5 9.375a0.625 0.625 0 1 0 0 1.25h3a0.625 0.625 0 1 0 0 -1.25h-0.875V6.5A0.625 0.625 0 0 0 7 5.875H6a0.625 0.625 0 1 0 0 1.25h0.375v2.25H5.5ZM8 4a1 1 0 1 1 -2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

@media screen and (min-width: 62em) {
  #sub-menu {
    font-size: 1.4rem;
  }
  
  #sub-menu a {
      padding: 3rem 8rem;
  }
}

/* hide search bar on publications page */
#publications .search-section {display: none;}

@media screen and (max-width: 48em) {
  #publications .grid-section-wrapper .grid-view {
    display: flex;
    padding: 0 10%;
  }

  #publications .grid-section-wrapper .grid-view .asset-image-link {height: auto;}
}

#browse-all-button.section.html-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* index banner at page bottom */
#banner.section.html-section {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#banner .banner-image {
  margin: 0;
}

#banner .banner-title {
  font-size: 1.4rem;
  position: absolute;
  color: #fff;
  text-shadow: 1px 1px #000;
}

@media screen and (min-width: 48em) {
  #banner .banner-title {
    font-size: 3rem;
  }
}

/* about page links */
#about-links {
  color: #00677f;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
}

@media screen and (min-width: 62em) {
  #about-links {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
  }
}

#about-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 3rem;
}

#about-links a .css-icon {
  transform: scale(4);
}

.css-icon-question-mark {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="help-chat-2--bubble-help-mark-message-query-question-speech-circle"><path id="Subtract" fill="currentColor" fill-rule="evenodd" d="M6.998 0.046A6.954 6.954 0 1 1 4.099 13.32l-3.466 0.627a0.5 0.5 0 0 1 -0.556 -0.668l0.994 -2.646A6.954 6.954 0 0 1 6.998 0.046Zm-0.379 4.399A0.995 0.995 0 1 1 7 6.36a0.625 0.625 0 0 0 -0.625 0.625v1.08a0.625 0.625 0 1 0 1.25 0V7.52a2.245 2.245 0 1 0 -2.87 -2.157 0.625 0.625 0 0 0 1.25 0 0.995 0.995 0 0 1 0.614 -0.919ZM7 11.39a0.895 0.895 0 0 1 0.002 -1.79l0.002 0a0.895 0.895 0 0 1 -0.002 1.79l-0.002 0Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

.css-icon-envelope {
  --icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><g id="mail-send-envelope--envelope-email-message-unopened-sealed-close"><path id="Subtract" fill="currentColor" fill-rule="evenodd" d="M0 2.75a1.5 1.5 0 0 1 1.5 -1.5h11a1.5 1.5 0 0 1 1.5 1.5v0.342L7.383 7.504A0.72 0.72 0 0 1 7 7.607a0.72 0.72 0 0 1 -0.383 -0.103L0 3.092V2.75Zm0 1.844v6.656a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5 -1.5V4.594L8.073 8.546l-0.005 0.004A1.966 1.966 0 0 1 7 8.857c-0.375 0 -0.753 -0.102 -1.068 -0.307l-0.005 -0.004L0 4.594Z" clip-rule="evenodd" stroke-width="1"></path></g></svg>');
}

/* fix code wrapping on mobile */
pre {
font-family: monospace,monospace;
font-size: 1em;
max-width: 100%;
overflow: auto;
white-space: normal;
}

/* ----------------
   Search widget
   ---------------- */

.search-section {
  max-width: 120rem;
  margin: 5rem auto; 	
}

.search-label{
  display: none;
}

/* filters */
.filters{
  justify-content: center;
}

.filter-options .filter-option:hover {
  color: #fff;
  background-color: var(--dunedin-blue);
}

.filter-options .filter-option.selected {
  font-weight: bold;
  background-color: transparent;
  color: #111;
}

.filter-button:hover {
  background-color: var(--dunedin-blue);
}

/* stop overflow on mobile */
@media screen and (max-width: 36em) { #advanced-search .advanced-search-content {max-width: 100%;} }

.search-grid-section .page-actions, 
.search-grid-section .grid, 
.search-grid-section .assets-pagination {
  background-color: var(--primary-color);
  padding-bottom:4rem;  
}
.change-grid-view .icon-text {
display: none;
}

.file-icon::before{
  border-color: var(--primary-color) var(--primary-color) rgba(255, 255, 255, .3) rgba(255, 255, 255, .35);
}

/* ----------------
   Masonry view 
   ----------------- */
.masonry-asset {
  margin-bottom: 2rem;
  background-color: white;
  padding: 0;
  float: left;
}
.masonry-asset:hover {opacity:0.6;}
.masonry-asset .asset-grid-icon {position:relative;}
.masonry-asset .asset-grid-name {margin-left:0;}

/* ------------
Feed view 
---------------- */
.feed-view .asset-name {
	text-align:left;
  	justify-content:left;
}
.feed-view .asset-grid-name {
  font-size: 1.2em;
  text-align:left;
  font-weight:bold;
}
.feed-view .feed-asset-type-icon {display:none;}

/* ------------
   Gallery 
   ------------ */

/*-- Mobile --*/
.gallery-link,
.gallery-image {
  height: 8rem;
}

/*-- Desktop --*/
@media (min-aspect-ratio: 1/1) {
  .gallery-link,
  .gallery-image {
    height: 16rem;
  }
}


/* --------------
   Home Page 
   -------------- */
.intro-logo {
	max-width:20rem;
}


/* custom social links article */
.social-links {margin-top:5em;}
.social-links a {font-size:2rem;padding:1rem 2rem;}
/* end */

/* fix download form terms field separation issue */
.form-checkbox.terms {
margin: 5rem 0;
}/* Grid assets and Asset details page */

/* content additions */
.asset-info span:not(.asset-id, .asset-source):before,
.AssetView .asset-size:before,
.AssetView .asset-dimensions:before,
.AssetView .asset-word-count:before {
  content: ' • ';
}

.AssetView .asset-latitude:before {
  content:'Latitude: ';
}

.AssetView .asset-longitude:before {
  content:'Longitude: ';
}

.asset-source:before {
  content: 'src: ';
}

.asset-licence-value:before {
  content: ' -';
  margin-right: 0.5rem;
}

/* Hidden */
.asset-details-section .asset-type,
.asset-tags-title,
.asset-size-title,
.asset-dimensions-title,
.asset-created-at,
.asset-id-title,
.asset-licence-title,
.asset-word-count-title,
.collections-section-title {
  display: none;
}

/* Layout */

.asset-page-wrapper {
  padding: 2rem 2em;
}
@media (min-width:768px) {
  .asset-page-wrapper {
    padding: 6rem 6em;
  }
}

.asset-page-wrapper .section {
  padding: 1rem 0;
}

.asset-details-section {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5rem;
  row-gap: 0.9rem;
}

.asset-details-section article {
  flex: 0 0 100%;
}                                                                                                       

.asset-details-section .asset-size,
.asset-details-section .asset-dimensions,
.asset-details-section .asset-extension,
.asset-details-section .asset-id,
.asset-details-section .asset-word-count {
  flex: 0 0 auto;
}

.related-assets-section {
  border-top: 1px dotted color-mix(in srgb, var(--color-body-text) 20%, transparent);
  padding-bottom: 4rem;
}

/* Grid area ordering */ 

.AssetView .asset-name {
  order: 1;
  width: 100%;
}

.AssetView .asset-type-icon {
  order: 2;
}

.AssetView .asset-id {
  order: 3;
}

.AssetView .asset-word-count {
  order: 4;
}

.AssetView .asset-size {
  order: 5;
}

.AssetView .asset-dimensions {
  order: 6;
}

.AssetView .asset-description {
  order: 7;
}

.AssetView .asset-ai-description {
  order: 7;
}

.AssetView .asset-licence {
  order: 8;
}

.AssetView .asset-terms-of-use {
  order: 9;
  padding-bottom: 1rem;
}

.AssetView .asset-expiry-date {
  order: 10;
}

.AssetView .asset-created-at {
  order: 12;
}

.AssetView .asset-credit {
  order: 13;
}

.AssetView .asset-usage {
  order: 14;
}

.AssetView .asset-reference {
  order: 15;
}

.AssetView .asset-account {
  order: 15;
}

.AssetView .asset-location {
  order: 16;
}

.asset-page-wrapper {
  grid-template-areas: "breadcrumb breadcrumb breadcrumb" "proxy proxy proxy" "details details details"  "tags tags tags" "actions actions actions";
}
.asset-page-wrapper.post {
  grid-template-areas: "breadcrumb breadcrumb breadcrumb" "proxy proxy proxy" "tags tags tags" "actions actions actions";
}

@media (min-width:36em) {
  .asset-page-wrapper .section {padding: 0;}
  .asset-page-wrapper .asset-tags-section {padding: 3rem 0;}
  .asset-proxy-section {margin-right: 5rem;}
  .asset-page-wrapper {
    grid-template-areas: "breadcrumb actions actions" "proxy proxy details" "proxy proxy tags";
  }
  .asset-page-wrapper.post {
    grid-template-areas: "breadcrumb actions actions" "proxy proxy proxy" "tags tags tags";
  }
}
/* Sign Up Page styles */
.new-account-section .form-section {
  background-color:transparent;
  padding:0;
}

.new-account-hint {font-size:2.5rem;}

.new-account-section .form-section form {
  background-color:antiquewhite;
  border-radius:1em;
  padding:1em;
}

@media screen and (min-width: 75em) {
  .new-account-section .form-section {
    width: 33vw;
    min-width:30em;
    margin:1em auto;
    background-color:transparent;
  }
  .new-account-section .form-section form {
    background-color:antiquewhite;
    border-radius:1em;
    padding:2em;
  }
  .new-account-section .new-account-embeded-image {
    padding:3rem;
    max-width:66vw;
  }
  blockquote {padding:2em;}
  blockquote span {
    display:block;
    width:100%;
    font-size:2.2rem;
    font-weight:bold;
  }
  blockquote cite {
    display:block;
    width:100%;
    font-size:1em;
    text-align:center;
  }	
  .signup-faq {
    margin:2.5%;
    text-align:left!important;
    padding-top:1em;
  }
}
.desktop {display:none;}

@media screen and (min-width: 62em){
  .desktop {display:block;}
  .mobile {display:none;}
}

/* faq styles */
dl {
  column-count: 1;
  column-gap: 0rem;
}

.fw dl {
  column-count: 1;
  column-gap: 0rem;
}
@media (min-width:48em) {
  dl {
    column-count: 2;
    column-gap: 5rem;
  }
  .fw dl {
    column-count: 3;
    column-gap: 5rem;
  }
}

dt {font-weight:bold;}
dt.subtitle {
  border-bottom: 2px solid #000;
  margin:2rem 0;
}
dt.subtitle:first-child {
  border-bottom: 2px solid #000;
  margin:0 0 2rem 0;
}
dd {margin-bottom:1rem;}
.bk-wall .brandkit-logo,
.bk-wall .logo {
  max-height: 20rem;
}

.bk-wall .button {
  line-height: 3rem;
}

@media screen and (min-width: 36em) {
  .bk-wall {
    margin: 10em auto 4em auto;
    padding:3rem 6rem
  }
}

@media screen and (min-width: 48em) {
  .bk-wall {
    margin: 10em 4em;
  }
}
.reset-password-section {
  background-color:#fff;
  width:fit-content;
  margin:0 4em;
}/* full width section */
.fw {padding:4em 0;}

@media (min-width:77rem) {
  .fw {
    width:100vw;
    padding:4em 0;
  } 
}

/* full height section */
.fh {
  padding-top:0;
  padding-bottom:0;
}

/* two column grids used throughout site */
.two-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 2em;
  grid-row-gap:2em;
}
.two-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}
/* Tablet Breakpoint 768px / 16px = 48em */
@media (min-width:48em) {
  .two-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 6em;
    grid-row-gap:6em;
  }
  .two-col-grid h1, .two-col-grid h2 {
  }
}  
/* end 2 col grid */

/* 3 column grids used throughout site */
.three-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 2em;
  grid-row-gap: 2em;
}
.three-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}

/* Tablet Breakpoint 768px / 16px = 48em */
@media (min-width:48em) {
  .three-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 4em;
    grid-row-gap:4em;
  }
}
/*  Desktop Breakpoint 1200px / 16px = 75em*/ 
@media (min-width:75em) {
  .three-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 4em;
    grid-row-gap:4em;
  }
  .three-col-grid h1, .three-col-grid h2 {
  }
}  
/* end 3 col grid */

/* 4 column grids used throughout site */
.four-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 2em;
  grid-row-gap: 2em;
}
.four-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}
/*  Desktop Breakpoint 768px / 16px = 48em */ 
@media (min-width:48em) {
  .four-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2em;
    grid-row-gap:2em;
  }
}
/*  Desktop Breakpoint 1200px / 16px = 75em */   
@media (min-width:75em) {
  .four-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 2em;
    grid-row-gap:2em;
  }
}  
/* end 4 col grid */
section .intro, #intro {
  text-align:center;
  padding-bottom:3rem; /* reset padding on sections */
}
section.blackbg {
  background-color: #121212;
  color: #fff!important;
}
section.whitebg {
  background-color: #fff;
  color: #000!important;
}
.search-grid-section .assets-pagination {
    padding-bottom: 2rem; /* reset padding on sections */
}
/* reset section padding on occasion */
.tight-bottom {padding-bottom:0;}
.tight-top {padding-top:0;}
.tight-left {padding-left:0;}
.tight-right {padding-right:0;}

/* html section */
.html-section {
  width:100vw;
  padding-top:3rem;/* reset padding on sections */
  padding-left:2em;
  padding-right:2em;
  padding-bottom:3rem;/* reset padding on sections */
}
.html-section img {margin:2em auto;}
.html-section p img {margin:0 auto;}
.html-section:first-child {padding-top:6rem;}

.fw {width:100%; padding:0;}
.fh {width:100%; padding:0;}


@media (min-width:62em) {
  .html-section {
    padding-left:3em; 
    padding-right:3em;  
  }
}  
@media (min-width:75em) {
  .html-section {
    padding-left:calc(50vw - 34.5em); 
    padding-right:calc(50vw - 34.5em);   
  }
}  
@media (min-width:120em) {
  .html-section {
    padding-left:calc(50vw - 45em); 
    padding-right:calc(50vw - 45em);  
  }
}

/* show the Search label and the And/Or toggle in the Search Grid - check render colour in each theme */
label.search-label {display:block;}.button,
.normal-button {
  color: #fff;;
  background-color: #000;
  padding: 1rem 2rem;
}
.cancel-button, .cancel-my-account-button, .danger-button {
  color:red; 
  text-decoration:underline; 
  background-color:#fff;}

.button-with-border {
  color: #000;;
  background-color: #fff;
  border: 1px solid #000;
}
.edit-profile-button {
  width:100%;
}
.normal-button.save-profile-changes-button,
.normal-button.save-profile-changes-button  {
  padding: 1rem 2rem;
}

a:hover,
.asset-add-to-basket-button:hover,
.clear-search-btn:hover {
  opacity:0.6;
}

/* Albums widget */
.albums-grid .album {
  aspect-ratio: 3 / 2; /* sets aspect ratio of album covers consistently when height is calculated */
  width: 100%;
}

.albums-grid .album-wrapper {gap: 2rem;}

.albums-grid .album-cover {background-color: #fff;}

.albums-grid .album-cover, .albums-horizontal-grid .album-cover {
  min-height: auto; 
}

.album-cover, .album-with-no-cover {
  border: none;
}

.album-cover:hover, .album-with-no-cover:hover {
  border: none;
}

/* new album select state */
a.album-selected {
  border: none;
  box-shadow: none;
}
a.album-selected img, a.album-selected div.album-with-no-cover,
a.album-selected img:hover, a.album-selected div.album-with-no-cover:hover {
  border: 5px solid var(--dunedin-blue);
  box-shadow: 0 15px 25px 1px #ccc;
}
a.album-selected span.album-title {
  color:#000;
  font-weight:bold;
}
/* end album select state */
.albums-grid .album-title {
  padding: 0 2rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
  position: absolute;
  font-family: "Archer SSm A", "Archer SSm B", Helvetica, Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px #000;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#popular-header,
#featured-header {
  padding: 4rem 10% 0;
}

#popular.section.albums-section,
#featured.section.albums-section {
  padding: 0 10%;
}

.albums-horizontal-grid .album-wrapper {
  padding: 4rem 2rem 0;
  grid-gap: 2rem;
}

/* tablet - rows of two */
@media screen and (min-width: 48em) {
  .albums-grid .album-wrapper {gap: 0;}
  
  #popular.section.albums-section,
  #featured.section.albums-section {
    padding: 0 10%;
    columns: 2;
    column-gap: 0;
  }
  
  #popular .album-wrapper a:nth-of-type(1),
  #popular .album-wrapper a:nth-of-type(3),
  #popular .album-wrapper a:nth-of-type(4),
  #popular .album-wrapper a:nth-of-type(8),
  #popular .album-wrapper a:nth-of-type(9){
    height: 40rem;
  }

  #popular .album-wrapper a:nth-of-type(2),
  #popular .album-wrapper a:nth-of-type(5),
  #popular .album-wrapper a:nth-of-type(7) {
    height: 20rem;
  }

  #popular .album-wrapper a:nth-of-type(6),
  #featured .album-wrapper a:nth-of-type(1) {
    height: 60rem;
  }
  
  #featured .album-wrapper a:nth-of-type(2),
  #featured .album-wrapper a:nth-of-type(3) {
    height: 30rem;
  }
}

/* desktop - rows of three */
@media screen and (min-width: 62em) {
  .albums-grid .album-wrapper {
	max-width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
 
  #popular.section.albums-section {
    columns: 3;
    column-gap: 0;
  }
  
  #popular .album-wrapper a:nth-of-type(4){
    height: 20rem;
  }
  
  .albums-horizontal-grid .album-wrapper {
	max-width: 100%;
    grid-gap: 4rem;
    overflow-wrap: normal;
    flex-wrap: wrap;
  }
}

.transparent {background: transparent;}

@media screen and (min-width: 75em) {
  #popular-header,
  #featured-header {
    padding: 4rem 20% 0;
  }

  #popular.section.albums-section,
  #featured.section.albums-section {
    padding: 0 20%;
  }
}/* carousel */

#carousel {
  position: relative;
  overflow: hidden;
  line-height: 0;
  height: 100%;
  padding: 0;
}

/* image overlay */
#carousel::after {
  content: '';
  background: linear-gradient(360deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 100%);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.carousel-container {
  display: flex;
  transition: transform 1s ease;
}

.carousel-slide {
  flex: 0 0 100%; /* Ensure each slide takes full width */
}

.carousel-slide img {
  width: 100%;
  margin: 0;
}

/* left and right navigation (hidden) */
.prev,
.next {
  position: absolute;
  top: 0;
  background-color: red;
  cursor: pointer;
  height: 94.5%;
  width: 10%;
  z-index: 1;
  opacity: 0;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* slide indicators */
.carousel-dots {
  position: absolute;
  bottom: 10%; 
  left: 50%;
  transform: translateX(-50%); /* Corrects horizontal centering */
  z-index: 1;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

/* active slide indicator */
.dot.active {
  opacity: 100%;
}

/* inactive slide indicator */
.dot:not(.active) {
  opacity: 50%;
}

/* move searchbox up over carousel */
#searchbox.search-box-section.desktop {
  position: relative;  
  width: 100%;
  /* position down from top amount of main padding / navbar height */
  margin-top: calc(-100vw/2.67);
  /* calculate height by aspect ratio of carousel images, so it's the same size */
  height: calc(100vw/2.67);
}

.desktop .search-box-component {
    width: 50%;
}

@media screen and (max-width: 36em) {.search-box input{font-size: 80%;}}

/* Styles for the 'assets-button' */
.assets-button {
  content: '';
  background-color: #000;
  position: absolute;
  right: -1px;
  top: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  min-width: 6rem;
  padding: 1rem 2rem;
  cursor: pointer;
  color: #fff;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0 0 50 50" fill="%23fff"%3E%3Cpath d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z"%3E%3C/path%3E%3C/svg%3E');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hover effect */
.assets-button:hover {
  opacity:0.7;
}

/* fixes stacking with carousel */
.cookies-preferences-section-overlay {z-index: 2;}